import request from "@/utils/request";

// 获取列表
export function getAllList(query) {
  return request({
    url: "/emergencyReport/getPage",
    method: "get",
    params: query,
  });
}

// 查看
export function getDetail(id) {
  return request({
    url: "/emergencyReport/findById",
    method: "get",
    params:{id:id}
  });
}